package jrobutt.loader;

import jrobutt.ResourceLoader;
import jrobutt.Common;

import java.io.InputStream;
import java.io.IOException;

public class BytesLoader extends ResourceLoader<byte[]>
{
    protected byte[] get_data (InputStream istream) throws IOException
    {
        return Common.read_all_as_bytes(istream);
    }
}
